<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../base.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
</head>

<body>
<form name="icform" method="post">
	

<div id="menubar">
<div id="middleMenubar">
<div id="innerMenubar">
  <div id="navMenubar">
<ul>
	<li id="save"><a href="#" onclick="formSubmit('update','_self');this.blur();">保存</a></li>
	<li id="back"><a href="#" onclick="history.go(-1);return false;this.blur();">返回</a></li>
</ul>
  </div>
</div>
</div>
</div>
   
  <div class="textbox-title">
	<img src="../../staticfile/skin/default/images/icon/currency_yen.png"/>
    部门修改
  </div> 
  
<div>


<div class="eXtremeTable" >
<table id="ec_table" class="tableRegion" width="98%" >
	<!-- 更新部门名称、上级部门 -->
	<tr>
	<td>
	<!-- 取部门的主键值，为了在保存的时候把主键值传过去 ,但是应该用hidden藏起来-->
	<input type="hidden" value="${dept.deptId }" name="deptId"/>
	部门名称：<input type="text" name="deptName" value="${dept.deptName }"
	</td>
	
	<td>
	父部门：
	<!-- 向后台传递父部门的id -->
	<select name="parentId">
	<option>--请选择--</option>
	<c:forEach items="${dataList}" var="dept">
	<option value="${dept.deptId }">${dept.deptName }</option>
	</c:forEach>
	</select>
	</td>
	</tr>
	
</table>
</div>
 
</div>
 
 
</form>
</body>
</html>

